<template>
	<view>
		<view class="gui-bg-white gui-margin gui-text-center" v-for="(item,index) in list">
		{{item.component}}-{{item.text}}
			<image v-if="item.component=='pictureads'" src="../../static/bg.png" mode=""></image>
			
		</view>
	</view>
</template>

<script>
	import Article from './Article.vue'
	export default{
		props:{
			text: {type:String, default:''},
			list:{type:Array, default:function(){return [];}},
		},
		components:{
			Article
		},
		
		data(){
			return{
				show:1
			}
		},
		onLoad() {
			console.log("items",this.items);
		}
	}
</script>

<style>
</style>